package com.osgix.demo.mvc.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.servlet.ModelAndView;

import com.osgix.common.mvc.AbsMultiActionController;

@Controller
public class PortalController extends AbsMultiActionController {

	@RequestMapping(value = "/portal/{portalView}", method = RequestMethod.GET)
	public ModelAndView getUsers(@PathVariable String portalView) {
		ModelAndView mav = new ModelAndView("/portal/" + portalView);
		return mav;
	}

}
